<%@ page contentType="text/html;charset=UTF-8"%> 
<%@ include file="/taglibs.jsp" %>

<stripes:layout-render name="/layout/standard.jsp" title="新建广告">
    <stripes:layout-component name="contents">

        <stripes:errors globalErrorsOnly="true"/>

        <stripes:form action="/Advertisement.action" focus="first">
            <p>查看广告信息:</p>

            <table class="leftRightForm">
                <tr>
                    <th>媒体名称:</th>
                    <td>${actionBean.ad.name}</td>
                </tr>
                <tr>
                    <th>广告公司:</th>
                    <td>${actionBean.adOwnerName}</td>
                </tr>
                <tr>
                    <th>位置:</th>
                    <td>${actionBean.ad.location}</td>
                </tr>
                <tr>
                    <th>形式分类:</th>
                    <td>${actionBean.ad.adType.name}</td>
                </tr>
                <tr>
                    <th>位置分类:</th>
                    <td>${actionBean.ad.adLocationType.name}</td>
                </tr>
                <tr>
                    <th>制作工艺分类:</th>
                    <td>${actionBean.ad.adMakingType.name}</td>
                </tr>
                <tr>
                    <th>宽:</th>
                    <td>${actionBean.ad.width}</td>
                </tr>
                <tr>
                    <th>高:</th>
                    <td>${actionBean.ad.height}</td>
                </tr>
                <tr>
                    <th>价格:</th>
                    <td>${actionBean.ad.price}</td>
                </tr>
                <tr>
                    <th>人流量:</th>
                    <td>${actionBean.ad.manTraffic}</td>
                </tr>
                <tr>
                    <th>车流量:</th>
                    <td>${actionBean.ad.carTraffic}</td>
                </tr>
                <tr>
                    <th>发布周期:</th>
                    <td>${actionBean.ad.cycle}</td>
                </tr>
                <tr>
                    <th>广告客户:</th>
                    <td>${actionBean.adClientName}</td>
                </tr>
                <tr>
                    <th>图片:</th>
                    <td><a target="_blank" href="/AdImage.action?id=${actionBean.ad.id}">
                    	 <img alt="${actionBean.ad.location}" src="/AdImage.action?id=${actionBean.ad.id}"/></a>
                    </td>
                </tr>
            </table>

            <div class="buttons">
        		<stripes:link href="/index.jsp">关闭</stripes:link>
            </div>
        </stripes:form>
    </stripes:layout-component>
</stripes:layout-render>